<!DOCTYPE html>
<html  xmlns:th="http://www.thymeleaf.org">
<head th:replace="templates/headerCommon::common_header(~{::title},~{::link})">
    <title>登录页面</title>
    <!--    个性化的引入-->
    <link rel="stylesheet" th:href="@{/css/fragment.css}">
    <link rel="stylesheet" th:href="@{/css/font.css}">
</head>
<body>
<div th:text="${errorMessage}" th:if="${not #strings.isEmpty(errorMessage)}"  style="color:red"></div>
<form action="#" th:action="@{/user/login}" method="post">
    <input type="text" name="username">
    <input type="text" name="pwd">
    <input type="submit" value="登录" th:value="用户登录">
</form>
</body>
</html>